﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ChangePassword.aspx.cs" Inherits="ChangePassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="Server">
    <div id="content">
        <div class="one">
            <div class="one-fourth">
                <ul class="simple-nav">
                    <li><a href="Account.aspx">Avatar</a></li>
                    <li><a class="current">Password</a></li>
                </ul>
            </div>
            <div class="inner-content last">
                <div class="two-thirds">
                    <form method="post" runat="server" id="login_form">
                    <input type="hidden" name="form_name" value="login_form" />
                     <h3>
                        Change Password:
                    </h3>
                    <fieldset>
                        <label>
                            New Password: <span class="required">*</span></label>
                        <asp:TextBox type="password" ID="Password" runat="server" class="text requiredField"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="Validate_Password" runat="server" ErrorMessage="*Please enter a password"
                            class="error" ControlToValidate="Password"></asp:RequiredFieldValidator>
                    </fieldset>
                    <fieldset>
                        <label>
                            Confirm Password: <span class="required">*</span></label>
                        <asp:TextBox type="password" ID="Password_bis" runat="server" class="text requiredField"></asp:TextBox>
                        <asp:CompareValidator ID="Compare_Password" runat="server" ErrorMessage="*This should match the field above"
                            class="error" ControlToCompare="Password" ControlToValidate="Password_bis"></asp:CompareValidator>
                    </fieldset>
                    <br />
                    <fieldset>
                        <asp:Button ID="Send_Button" runat="server" Text="Reset Password" onclick="Reset_Button" class="button medium blue" />
                    </fieldset>
                    <asp:TextBox ID="Result" runat="server" class="text requiredField error" ReadOnly="True"
                        TextMode="SingleLine" BorderColor="White" Font-Bold="False" ForeColor="Red"></asp:TextBox>
                    </form>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
